package psm.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import psm.dao.userinfoMapper;
import psm.model.userinfo;

@Service("psmService")
public class psmService {
	
	private userinfoMapper userinfomapper;
	
	
	public userinfoMapper getUserinfomapper() {
		return userinfomapper;
	}

	@Autowired
	public void setUserinfomapper(userinfoMapper userinfomapper) {
		this.userinfomapper = userinfomapper;
	}

	
	public userinfo getAll(String id){
		return userinfomapper.getuser("001");
		
	}
}
